/**
 * 总结界面
 */
const Summarize = () => import('../view/summarize/index.vue')
/**
 * 根界面
 */
const SummarizeRoot = () => import('../view/summarize/root/index.vue')
/**
 * 学习总结列表
 */
const SummarizeStudyList = () => import('../view/summarize/study/list/index.vue')
/**
 * 学习总结详情
 */
const SummarizeStudyDetail = () => import('../view/summarize/study/detail/index.vue')
/**
 * 封装列表
 */
const SummarizePackageList = () => import('../view/summarize/package/list/index.vue')
/**
 * 封装详情
 */
const SummarizePackageDetail = () => import('../view/summarize/package/detail/index.vue')

export default {
  path: '/summarize',
  name: 'Summarize',
  redirect: '/summarize/root',
  component: Summarize,
  children: [
    {
      path: 'root',
      name: 'SummarizeRoot',
      meta: {tabBar: true, tabBarIndex: 2},
      component: SummarizeRoot
    },
    {
      path: 'study-list/:type',
      name: 'SummarizeStudyList',
      component: SummarizeStudyList
    },
    {
      path: 'study-detail',
      name: 'SummarizeStudyDetail',
      component: SummarizeStudyDetail
    },
    {
      path: 'package-list/:type',
      name: 'SummarizePackageList',
      component: SummarizePackageList
    },
    {
      path: 'package-detail',
      name: 'SummarizePackageDetail',
      component: SummarizePackageDetail
    }
  ]
}
